package com.tz.actions.cart;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;

/**
 * Created by heziqian on 2016/10/21.
 */
@Namespace("/")
public class CartAction extends ActionSupport{

    @Action(value = "cart",
            results = {@Result(location="/cart.jsp"),
                    @Result(name = "input",location = "/cart.jsp")
            })
    public String execute() {
        return SUCCESS;

    }

}
